function getDBCurrentDate() {
	var now = new Date();

	now.setMinutes(0);
	now.setSeconds(0);
	month = 0;
	day = 0;
	hours = 0;
	minutes = 0;
	seconds = 0;

	if (now.getMonth() + 1 < 10)
		month = '0' + now.getMonth() + 1
	else
		month = now.getMonth() + 1;

	if (now.getDate() < 10)
		day = '0' + now.getDate()
	else
		day = now.getDate();

	if (now.getHours() < 10)
		hours = '0' + now.getHours()
	else
		hours = now.getHours();

	if (now.getMinutes() < 10)
		minutes = '0' + now.getMinutes()
	else
		minutes = now.getMinutes();

	if (now.getSeconds() < 10)
		seconds = '0' + now.getSeconds()
	else
		seconds = now.getSeconds();

	dateString = now.getFullYear() + '-' + month + '-' + day + ' ' + hours
			+ ':' + minutes + ':' + seconds;

	return dateString;
}
